<?php

declare(strict_types=1);
/**
 * This file is part of micro-word.
 *
 * @link     https://www.cppo.cn/
 * @contact  1300188034@qq.com
 * @license  https://gitee.com/cppo/micro_word/blob/master/README.md
 */

namespace App\Rpc;

use App\Helpers\Output;
use App\Rpc\Trait\BannerTraitRpc;
use App\Rpc\Trait\CateTraitRpc;
use App\Rpc\Trait\DocTraitRpc;
use App\Rpc\Trait\HistoryTraitRpc;
use Hyperf\Di\Annotation\Inject;
use Hyperf\RpcServer\Annotation\RpcService;

#[RpcService(name: 'ShareRpc', server: 'jsonrpc-http', protocol: 'jsonrpc-http', publishTo: 'nacos')]
class ShareRpc implements ShareRpcInterface
{
    use BannerTraitRpc;
    use CateTraitRpc;
    use DocTraitRpc;
    use HistoryTraitRpc;

    #[Inject]
    protected Output $output;
}
